xl: improve vif2 parsing
authorAndre Przywara <andre.przywara@amd.com>
Tue, 24 Aug 2010 17:19:19 +0000 (18:19 +0100)
committerAndre Przywara <andre.przywara@amd.com>
Tue, 24 Aug 2010 17:19:19 +0000 (18:19 +0100)
commit317b6ccda5172c8377b58fcf1c2647f1b253fc0e
treeedc9955245ed09de8c53d69ab20efa44d736f678
parent6c5e7d69b6214409104a6612fd0f37345e3461e7
xl: improve vif2 parsing

vif2 parsing relies on counted strncmp() statements. Replace this
with a more robust automatic version.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c